﻿
namespace Foothill.Common
{
    public class SecurityMessageCode
    {
        // sign up 
        public static readonly string EmailIsInUse = "SignupError_Email_Is_InUse";

        public static readonly string InvalidEmail = "SignupError_Invalid_Email";

        public static readonly string EmailActivationPending = "SignupError_Activation_Pending";

        public static readonly string UsernameInUse = "SignupError_Username_In_Use";

        public static readonly string InvalidUsername = "SignupError_Invalid_Username";

        public static readonly string InvalidPassword = "SignupError_Invalid_Password";

        public static readonly string PasswordTooLong = "SignupError_Password_Too_Long";

        public static readonly string PasswordTooShort = "SignupError_Password_Too_Short";

        public static readonly string PasswordsNotMatch = "SignupError_Passwords_Not_Match";

        public static readonly string ConfirmationEmailCannotBeSent = "SignupError_Confirmation_Email_CannotBeSent";

        public static readonly string FailToCreateNewAccount = "SignupError_FailTo_CreateNewAccount";

        // account activation
        public static readonly string AcctActivation_Succeeded = "AcctActivation_Succeeded";

        public static readonly string AcctActivation_AlreadyActivated = "AcctActivation_AlreadyActivated";

        public static readonly string AcctActivation_Expired = "AcctActivation_Expired";

        public static readonly string AcctActivation_InvalidToken = "AcctActivation_InvalidToken";

        // log in
        public static readonly string LoginError_EmailEmpty = "LoginError_EmailEmpty";

        public static readonly string LoginError_PasswordEmpty = "LoginError_PasswordEmpty";

        public static readonly string LoginError_NonRegisteredUsername = "LoginError_NonRegisteredUsername";

        public static readonly string LoginError_InvalidUsernameOrPassword = "LoginError_InvalidUsernameOrPassword";

        public static readonly string LoginError_AccountNotActivatedYet = "LoginError_AccountNotActivatedYet";

        // password recovery
        public static readonly string PasswordRecovery_CannotFindEmail = "PasswordRecovery_CannotFindEmail";

        public static readonly string PasswordRecovery_Succeed = "PasswordRecovery_Succeed";

        public static readonly string PasswordRecovery_FailToSendEmail = "PasswordRecovery_FailToSendEmail";

        // change password
        public static readonly string ChangePassword_InvalidCurrentPassword = "ChangePassword_InvalidCurrentPassword";

        public static readonly string ChangePassword_NewPasswordTooShort = "ChangePassword_NewPasswordTooShort";

        public static readonly string ChangePassword_NewPasswordTooLong = "ChangePassword_NewPasswordTooLong";

        public static readonly string ChangePassword_NewPasswordIsEmpty = "ChangePassword_NewPasswordIsEmpty";

        public static readonly string ChangePassword_TwoPasswordNotmatch = "ChangePassword_TwoPasswordNotmatch";

        public static readonly string ChangePassword_FailToUpdatePasswordInDb = "ChangePassword_FailToUpdatePasswordInDb";

        public static readonly string ChangePassword_FailedUnexpectedError = "ChangePassword_FailedUnexpectedError";

        public static readonly string ChangePassword_Succeed = "ChangePassword_Succeed";

        // change password after login using temp password
        public static readonly string ChangeTempPassword_Succeed = "ChangeTempPassword_Succeed";

        // login using temp password
        public static readonly string LoginError_AccountNotInUsingTempPasswordState = "LoginError_AccountNotInUsingTempPasswordState";
    }
}
